<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="pageContent">
	<form method="post" action="../Craft.do?m=doAdd" enctype="multipart/form-data" class="pageForm required-validate" onsubmit="return iframeCallback(this, navTabAjaxDone);">
		<div class="pageFormContent nowrap" layoutH="56">
			<dl>
				<dt>工种：</dt>
				<dd>
					<input type="text" name="craClass" maxlength="150" class="required" />
				</dd>
			</dl>
			<dl>
				<dt>姓名：</dt>
				<dd>
					<input type="text" name="craName" maxlength="150" class="required" />
				</dd>
			</dl>
			<dl>
				<dt>工程施工内容：</dt>
				<dd>
					<input type="text" name="craContent" maxlength="150" class="required" />
				</dd>
			</dl>
			<dl>
				<dt>工程施工照片:</dt>
				<dd>
					<input type="file" name="craImg" onchange="selImage(this)">
				</dd>
			</dl>
			<dl>
				<dt></dt>
				<dd>
					<img alt="" id="img" src="" width="200px">
				</dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>

